<template>
    <div>
        <div>Hello,Main
            <button @click="handleVue">vue</button>
            <button @click="handleReact">react</button>
            <button @click="handleMain">main</button>
        </div>
        <div id="app-main">
            <!-- <router-view /> -->
        </div>
    </div>
</template>
<script>
export default {
    name: 'App',
    data() {
        return {

        }
    },
    mounted() {
        const { Time } = process.env
        console.log(Time, '打包时间')
    },
    methods:{
        handleVue(){
            window.location.hash = '#/qiankun/vue'
        },
        handleReact(){
            window.location.hash = '#/qiankun/react'
        },
        handleMain(){
            window.location.href = '#/qiankun/home'
        }
    }
}
</script>
<style lang="scss" scoped></style>